﻿using MediatR;
using SqlSugar;

namespace S_Gridding.Api.Application.Commands.Teamgrid
{
    public class TeamgridUpdCommands : IRequest<int>
    {
            /// <summary>
            /// ID
            /// </summary>
            public int Id { get; set; }
            /// <summary>
            /// 网络名称
            /// </summary>
            [SugarColumn(Length = 50)]
            public string? Grid_name { get; set; }
            /// <summary>
            /// 所属层级
            /// </summary>
            [SugarColumn(Length = 50)]
            public string? Subordinate_level { get; set; }
            /// <summary>
            /// 所属区域
            /// </summary>
            public int Owning_region { get; set; }
            /// <summary>
            /// 网格长
            /// </summary>
            [SugarColumn(Length = 50)]
            public string? Mesh_Length { get; set; }
            /// <summary>
            /// 网格员
            /// </summary>
            [SugarColumn(Length = 50)]
            public string? Grid_inspector { get; set; }
            /// <summary>
            /// 删除标识
            /// </summary>
            [SugarColumn(IsNullable = true)]
            public bool IsDel { get; set; } = false;
    }
}
